package com.huiminpay.transaction.service;

import com.huiminpay.common.cache.domain.BusinessException;
import com.huiminpay.transaction.api.dto.OrderResultDTO;
import com.huiminpay.transaction.api.dto.PayOrderDTO;
import com.huiminpay.transaction.api.dto.QRCodeDto;

public interface ITransactionService {
    /**
     * 生成二维码入口URL
     * @param qrCodeDto
     * @return
     * @throws BusinessException
     */
    String createStoreQRCode(QRCodeDto qrCodeDto) throws BusinessException;

    String createAlipayWapOrder(PayOrderDTO payOrderDTO);

    OrderResultDTO selectPayOrderByOrderNo(String out_trade_no);

    void updatePayorder(OrderResultDTO orderResultDTO);
}
